package com.example.demo.service;

import org.springframework.security.core.Authentication;

import javax.servlet.http.HttpServletRequest;

/**
 * Copyright(C), 2020-2021, AmbroseCdMeng
 * FileName:    RbacService
 * Author:      AmbroseCdMeng
 * Date:        2021/3/5 15:12
 * Description: 创建RBAC服务接口
 * History:
 * <author>     <time>      <version>       <desc>
 * 作者姓名     修改时间        版本号           描述
 */
public interface RbacService {
    boolean hasPermission(HttpServletRequest request, Authentication authentication);
}
